let Rule = require("../rule.js")
class NullableRule extends Rule{
	name(){
		return 'nullable'
	}
	check(column,value,values,params){
		return typeof value === 'undefined' || value === '' || value === null
	}
}
module.exports = NullableRule